Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/database/src/commonMain/kotlin/org/meshtastic/core/database/entity/DeviceLinkEntity.kt 41414f832f938b655c97bc07509bc140ea16e2a3 (41414f83) Text, 1.78 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.database.entity

Tff7b72import T7ee787androidx.room3.ColumnInfo
Tff7b72import T7ee787androidx.room3.Entity
Tff7b72import T7ee787androidx.room3.PrimaryKey
Tff7b72import T7ee787kotlinx.serialization.Serializable
Tff7b72import T7ee787org.meshtastic.core.model.DeviceLink

T8b949e/** A msh.to device link, cached from the Meshtastic API (`/resource/deviceLinks`) during the refresh cycle. */
Tf0883e@Serializable
Tf0883e@EntityTb4b4b4(Te6edf3tableName Tff7b72= Ta5d6ff"Ta5d6ffdevice_linkTa5d6ff"Tb4b4b4)
Tff7b72data Tff7b72class T56d364DeviceLinkEntityTb4b4b4(
Tf0883e@PrimaryKey Tf0883e@ColumnInfoTb4b4b4(Te6edf3name Tff7b72= Ta5d6ff"Ta5d6ffshort_codeTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3shortCodeTb4b4b4: Tffa657StringTb4b4b4,
Tf0883e@ColumnInfoTb4b4b4(Te6edf3name Tff7b72= Ta5d6ff"Ta5d6fflink_descriptionTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3linkDescriptionTb4b4b4: Tffa657String? Tff7b72= Tff7b72nullTb4b4b4,
Tf0883e@ColumnInfoTb4b4b4(Te6edf3name Tff7b72= Ta5d6ff"Ta5d6ffis_vendorTa5d6ff"Tb4b4b4) Tff7b72val Te6edf3isVendorTb4b4b4: Tffa657Boolean Tff7b72= Tff7b72falseTb4b4b4,
Tff7b72val Te6edf3regionsTb4b4b4: Te6edf3ListTff7b72<Tffa657StringTff7b72>Tff7b72? Tff7b72= Tff7b72nullTb4b4b4,
Tff7b72val Te6edf3targetsTb4b4b4: Te6edf3ListTff7b72<Tffa657StringTff7b72>Tff7b72? Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4)

Tff7b72fun Te6edf3DeviceLinkTb4b4b4.Td2a8ffasEntityTb4b4b4(Tb4b4b4) Tff7b72= Te6edf3DeviceLinkEntityTb4b4b4(
Te6edf3shortCode Tff7b72= Te6edf3shortCodeTb4b4b4,
Te6edf3linkDescription Tff7b72= Te6edf3descriptionTb4b4b4,
Te6edf3isVendor Tff7b72= Te6edf3isVendorTb4b4b4,
Te6edf3regions Tff7b72= Te6edf3regionsTb4b4b4,
Te6edf3targets Tff7b72= Te6edf3targetsTb4b4b4,
Tb4b4b4)

Tff7b72fun Te6edf3DeviceLinkEntityTb4b4b4.Td2a8ffasExternalModelTb4b4b4(Tb4b4b4) Tff7b72= Te6edf3DeviceLinkTb4b4b4(
Te6edf3shortCode Tff7b72= Te6edf3shortCodeTb4b4b4,
Te6edf3description Tff7b72= Te6edf3linkDescriptionTb4b4b4,
Te6edf3isVendor Tff7b72= Te6edf3isVendorTb4b4b4,
Te6edf3regions Tff7b72= Te6edf3regionsTb4b4b4,
Te6edf3targets Tff7b72= Te6edf3targetsTb4b4b4,
Tb4b4b4)

Served by rngit 1.5.0 - Generated in 0.04s